iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

MappedStatement.ExecuteQueryForObject Method (ISqlMapSession, Object)

Executes an SQL statement that returns a single row as an Object.

[Visual Basic]
Overridable Overloads Public Function ExecuteQueryForObject( _
   ByVal ISqlMapSession As ISqlMapSession, _
   ByVal Object As Object _
) As ``0 _
    Implements IMappedStatement.
[C#]
public virtual T <T>ExecuteQueryForObject(
   ISqlMapSession session,
   Object parameterObject
);

Parameters

session
The session used to execute the statement.
parameterObject
The object used to set the parameters in the SQL.

Return Value

The object

Implements

IMappedStatement.

See Also

MappedStatement Class | IBatisNet.DataMapper.MappedStatements Namespace | MappedStatement.ExecuteQueryForObject Overload List